package rpc

import (
	"bilinadmin/internal/conf"
	"bilinadmin/pkg/log"
)

// RpcBase rpc 基础struct
type RpcBase struct {
	logger log.Factory
	cfg    *conf.Config
}

var base *RpcBase

// InitRpcBase 初始
func InitRpcBase(logger log.Factory, cfg *conf.Config) {
	base = &RpcBase{
		logger: logger,
		cfg:    cfg,
	}
}
